import urllib.request
import urllib.parse

# python3 urllib.request 替换urllib2
# python3 urllib.parse

# 返回内容转码 .decode('bg2312')

para = urllib.parse.urlencode({})
geturl = "http://99shou.cn/tasks/equities/infos" + "?"+para

request = urllib.request.Request(geturl)

response = urllib.request.urlopen(request)

print(response.read().decode('utf-8'))
